package com.terren.spider.entity.core;

import com.terren.spider.core.html.configuration.DynamicType;
import com.terren.spider.entity.BasicEntity;
import com.terren.spider.entity.config.SysConfig;

public class ProxyRequestParam extends BasicEntity{

	/**
	 * page = 0 不翻页
        page > 0 翻页
	 */
	private static final long serialVersionUID = 4103551635662371525L;

	private DynamicType UrlDynamic = SysConfig.URL_DYNAMIC;//目标页是否动态加载;
	private Integer page;//page = 0 不翻页 page > 0 翻页
	private Integer timeout = SysConfig.PROXY_TIME_OUT;
	private Boolean entryUseProxy = SysConfig.ENTRY_USE_PROXY ;//是否使用代理
	private Boolean contentUseProxy = SysConfig.CONTENT_USE_PROXY ;//目标是否使用代理
	private String proxyHost;      // 代理服务器主机地址
	private Integer proxyPort;       // 代理服务器主机端口
	private Boolean useAbuyun = false;//是否使用阿布云代理 （指代理服务器是否使用阿布云）
	private Integer timewait; //等待渲染的时间 代理默认为3秒
	
	
	
	public Integer getTimewait() {
		return timewait;
	}
	public void setTimewait(Integer timewait) {
		this.timewait = timewait;
	}
	public Boolean getUseAbuyun() {
		return useAbuyun;
	}
	public void setUseAbuyun(Boolean useAbuyun) {
		this.useAbuyun = useAbuyun;
	}
	public DynamicType getUrlDynamic() {
		return UrlDynamic;
	}
	public void setUrlDynamic(DynamicType urlDynamic) {
		UrlDynamic = urlDynamic;
	}
	public Boolean getEntryUseProxy() {
		return entryUseProxy;
	}
	public void setEntryUseProxy(Boolean entryUseProxy) {
		this.entryUseProxy = entryUseProxy;
	}
	public Boolean getContentUseProxy() {
		return contentUseProxy;
	}
	public void setContentUseProxy(Boolean contentUseProxy) {
		this.contentUseProxy = contentUseProxy;
	}
	public String getProxyHost() {
		return proxyHost;
	}
	public void setProxyHost(String proxyHost) {
		this.proxyHost = proxyHost;
	}
	public Integer getProxyPort() {
		return proxyPort;
	}
	public void setProxyPort(Integer proxyPort) {
		this.proxyPort = proxyPort;
	}
	public Integer getPage() {
		return page;
	}
	public void setPage(Integer page) {
		this.page = page;
	}
	public Integer getTimeout() {
		return timeout;
	}
	public void setTimeout(Integer timeout) {
		this.timeout = timeout;
	}
	
}
